package org.example.studentsystem_back.vo.moneyMangeVo;

import lombok.Data;
import org.example.studentsystem_back.domain.Money;

@Data
public class MoneyIdVo extends Money {
    private int suiId;
    public void setMoneyId(Money money) {
        this.setMoneyId(money.getMoneyId());
        this.setDormNum(money.getDormNum());
        this.setArea(money.getArea());
        this.setState(money.getState());
        this.setYear(money.getYear());
        this.setBasic(money.getBasic());
        this.setWater(money.getWater());
    }
}
